package jym.tan.tmdb.bean;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

/**
 * The Class Movie.
 * <p>
 * 	The properties are:
 * 	<ul>
 * 		<li>id</li>
 * 		<li>backdrop_path</li>
 * 		<li>poster_path</li>
 * 	</ul>
 * </p>
 * @author Tanmoy	 
 */
public class Movie extends BaseBean implements Serializable  {

	private static final long serialVersionUID = 6643677885519744109L;

	@SerializedName("backdrop_path")
	protected String backdropPath;

	@SerializedName("poster_path")
	protected String posterPath;
	
	/**
	 * Default Constructor.
	 */
	public Movie() {
		
	}

	/**
	 * Gets the backdrop path.
	 *
	 * @return 
	 * 		The backdrop path
	 */
	public String getBackdropPath() {
		return backdropPath;
	}

	/**
	 * Sets the backdrop path.
	 *
	 * @param backdropPath 
	 * 		The new backdrop path
	 */
	public void setBackdropPath(String backdropPath) {
		this.backdropPath = backdropPath;
	}

	/**
	 * Gets the poster path.
	 *
	 * @return 
	 * 		The poster path
	 */
	public String getPosterPath() {
		return posterPath;
	}

	/**
	 * Sets the poster path.
	 *
	 * @param posterPath 
	 * 		The new poster path
	 */
	public void setPosterPath(String posterPath) {
		this.posterPath = posterPath;
	}	
	
	/* (non-Javadoc)
	 * @see jym.tan.tmdb.bean.BaseBean#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{").
			append("id:").append(id).
			append(",").
			append("backdrop_path:").append("\"").append(backdropPath).append("\"").
			append(",").
			append("poster_path:").append("\"").append(posterPath).append("\"").
			append("}");
		return builder.toString();
	}
}
